cmake_minimum_required( VERSION 2.8 )
project( GTSAM_IMU )

set( CMAKE_BUILD_TYPE "Release" )
set( CMAKE_CXX_FLAGS "-O3" )
add_definitions(-std=c++11)

find_package(Boost REQUIRED COMPONENTS
 filesystem
 serialization
 system
 thread
 date_time
 regex
 timer
 chrono
)
find_package( GTSAM REQUIRED )
include_directories(${Boost_INCLUDE_DIRS} ${GTSAM_INCLUDE_DIR} "/usr/include/eigen3" )

add_executable(${PROJECT_NAME} gtsam_imu_test.cpp)
target_link_libraries( ${PROJECT_NAME} ${Boost_LIBRARIES} gtsam )
